Optimal. Leaf size=41 \[ \frac{\sin ^5(a+b x)}{5 b}-\frac{2 \sin ^3(a+b x)}{3 b}+\frac{\sin (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0129965, antiderivative size = 41, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {2633} \[ \frac{\sin ^5(a+b x)}{5 b}-\frac{2 \sin ^3(a+b x)}{3 b}+\frac{\sin (a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2633
Rubi steps
\begin{align*} \int \cos ^5(a+b x) \, dx &=-\frac{\operatorname{Subst}\left (\int \left (1-2 x^2+x^4\right ) \, dx,x,-\sin (a+b x)\right )}{b}\\ &=\frac{\sin (a+b x)}{b}-\frac{2 \sin ^3(a+b x)}{3 b}+\frac{\sin ^5(a+b x)}{5 b}\\ \end{align*}
Mathematica [A] time = 0.0139859, size = 41, normalized size = 1. \[ \frac{\sin ^5(a+b x)}{5 b}-\frac{2 \sin ^3(a+b x)}{3 b}+\frac{\sin (a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.027, size = 32, normalized size = 0.8 \begin{align*}{\frac{\sin \left ( bx+a \right ) }{5\,b} \left ({\frac{8}{3}}+ \left ( \cos \left ( bx+a \right ) \right ) ^{4}+{\frac{4\, \left ( \cos \left ( bx+a \right ) \right ) ^{2}}{3}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.49008, size = 46, normalized size = 1.12 \begin{align*} \frac{3 \, \sin \left (b x + a\right )^{5} - 10 \, \sin \left (b x + a\right )^{3} + 15 \, \sin \left (b x + a\right )}{15 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.64212, size = 85, normalized size = 2.07 \begin{align*} \frac{{\left (3 \, \cos \left (b x + a\right )^{4} + 4 \, \cos \left (b x + a\right )^{2} + 8\right )} \sin \left (b x + a\right )}{15 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.00431, size = 58, normalized size = 1.41 \begin{align*} \begin{cases} \frac{8 \sin ^{5}{\left (a + b x \right )}}{15 b} + \frac{4 \sin ^{3}{\left (a + b x \right )} \cos ^{2}{\left (a + b x \right )}}{3 b} + \frac{\sin{\left (a + b x \right )} \cos ^{4}{\left (a + b x \right )}}{b} & \text{for}\: b \neq 0 \\x \cos ^{5}{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.26137, size = 46, normalized size = 1.12 \begin{align*} \frac{3 \, \sin \left (b x + a\right )^{5} - 10 \, \sin \left (b x + a\right )^{3} + 15 \, \sin \left (b x + a\right )}{15 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]